const Router=require('koa-router')

const {create}=require("../controller/user_controller")
const {visitorfily,passwordHandle}=require('../middleware/usermiddleware')
 //创建路由对象
const userrouter=new Router({prefix:'/user'})
userrouter.post('/',visitorfily,passwordHandle,create);
module.exports=userrouter;